// components/navigation-bar/navigation-bar.js
Component({
  /**
   * 组件的属性列表
   */
  options:{
    multipleSlots: true
  },

  properties: {
   title:{
     type:String,
     value:"默认标题"
   }
  },

  /**
   * 组件的初始数据
   */
  data: {
    statusBarHeight:getApp().globalData.statusBarHeight,
    navBarHeight:getApp().globalData.navBarHeight
  },

  lifetimes:{
    ready:function(){
      const info = wx.getSystemInfoSync()
      
    }
  },
  methods: {
    handleLeftClick: function () {
      this.triggerEvent('click')
    }
  }
})
